package com.hongdee.rbac.roledata.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by My on 2017-01-20.
 */

@Entity
@Table(name = "T_BC_ROLE_DATA")
public class TBcRoleData extends BaseEntity {

    //角色名称  role_name
    @Column(name = "role_name", length = 64, columnDefinition = " VARCHAR(64) COMMENT '角色名称' ")
    private String roleName;

    //角色类型0部门权限，1人员权限  role_type
    @Column(name = "role_type", length = 1, columnDefinition = " VARCHAR(1) COMMENT '角色类型' ")
    private String roleType;

    //显示顺序  disp_order
    @Column(name = "disp_order", columnDefinition = " int COMMENT '显示顺序' ")
    private Integer dispOrder;

    //状态  status
    @Column(name = "status", length = 1, columnDefinition = " VARCHAR(1) COMMENT '状态' ")
    private String status;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }

    public Integer getDispOrder() {
        return dispOrder;
    }

    public void setDispOrder(Integer dispOrder) {
        this.dispOrder = dispOrder;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
